﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Phatent.Model;
using Phatent.Model.Functions;
using Phatent.Command.Functions;
namespace Phatent.Logic.Functions
{
    public class EmployeeLogic
    {
        public static EmployeeModel GetModel(Guid guid)
        {
            return EmployeeCommand.GetModel(guid);
        }

        public static EmployeeCollection Gets(QueryBase sea)
        {
            return EmployeeCommand.Gets(sea);
        }

        public static EmployeeModel CreateNew(EmployeeModel model)
        {
            return EmployeeCommand.CreateNew(model);
        }

        public static void Expired(Guid guid)
        {
            EmployeeCommand.Expired(guid);
        }
    }
}
